//
//  ViewController.m
//  MLXOpenshare
//
//  Created by SY on 2018/12/3.
//  Copyright © 2018年 shenyue. All rights reserved.
//

#import "ViewController.h"
#import <OpenShare+Weixin.h>
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  
}


-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [OpenShare WeixinAuth:@"snsapi_userinfo" Success:^(NSDictionary *responseObject) {
        NSLog(@"");
    } Fail:^(NSDictionary *message, NSError *error) {
        NSLog(@"");
    }];
}

@end
